package cn.water.luban.demo.order.main.handler;

import cn.water.demo.luban.commons.restful.JsonResult;
import cn.water.demo.luban.commons.restful.ResponseCode;
import cn.water.demo.luban.protocol.order.param.OrderAddParam;

public class FallbackHandler {
    public static JsonResult orderFallBack(OrderAddParam orderAddParam, Throwable e){
        return JsonResult.failed(ResponseCode.NOT_ACCEPTABLE,"你的资源调用有问题，进入到降级");
    }
}
